package com.itheima.dao;

import com.itheima.pojo.MyOrderSetting;
import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    void add(OrderSetting orderSetting);

    void editByOrderDate(OrderSetting orderSetting);

    long findByOrderSetting(Date orderDate);

    List<MyOrderSetting> getOrderSettingByMonth(@Param("value") String date);

    OrderSetting findByOrderDate(Date parseDate2String);

    void editReservationsByOrderDate(OrderSetting orderSetting);

    void editNumberByOrderDate(OrderSetting orderSetting);
}
